package com.junjun;

/**
 * @Author: mingdongwei
 * @Date: 2024-02-10
 * @Description:
 * @Version: 1.0.0
 */
public enum Sex {
    NAN(1,"男"),
    NV(2,"女");

    private int code;
    private String desc;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    Sex(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
